﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Transactions;
using DAL;
using System.Web.Mvc;
using Common;

namespace BLL
{
    public abstract class BaseBLL : IDisposable
    {
        public string Start_Time { get { return "Start_Time"; } }
        public string End_Time { get { return "End_Time"; } }
        public string Start_Int { get { return "Start_Int"; } }
        public string End_Int { get { return "End_Int"; } }
        public void GetDiffrent(List<string> newId, List<string> oldId, ref List<string> addId, ref List<string> deleteId)
        {
            addId = (from n in newId
                     where !oldId.Contains(n)
                     where n.Length == 36
                     select n).ToList();
            deleteId = (from o in oldId
                        where !newId.Contains(o)
                        where o.Length == 36
                        select o).ToList();
        }



        public void Dispose()
        {

        }
    }
}
